package model

type UserRoleTab struct {
	Id   int64  `json:"id"`
	Role string `json:"role"`
}

func (UserRoleTab) TableName() string {
	return "user_role_tab"
}

//create table `user_role_tab`(
//`id` bigint(20) not null auto_increment,
//`role` varchar(50) default null,
//primary key(`id`),
//unique key `role`(`role`) using btree
//)engine=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
